package com.quanyan.user.mapper;

import com.lefu.commons.utils.Page;
import com.quanyan.user.model.db.TbComment;
import com.quanyan.user.model.vo.request.ReqNewsComment;
import com.quanyan.user.model.vo.response.RespDynamicComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/11/17.
 */
public interface DynamicCommentMapper {

    /**
     * 查看动态评论
     * @param page
     * @param reqNewsComment
     * @return
     */
    public List<TbComment> findAllNewsComment (@Param("page")Page page ,@Param("m")ReqNewsComment reqNewsComment);


    /**
     * 批量获取评论
     * @return
     */
    public List<TbComment> findAllBatchNewsComment (@Param("page")Page page ,@Param("m") Map<String,Object> map);
}
